package designpattern.chainresponsibility.order;

/**
 * Created with IntelliJ IDEA.
 *
 * @Author: 刘牌
 * @Date: 2021/12/18/23:26
 * @Description:
 */
public class Test {
    public static void main(String[] args) {
        Order order = new Order();
        order.setFreeOrder(false);
        order.setHangOrderPersonId("645646");
        order.setMemberId("123456");

        OrderService orderService = new OrderService();
        orderService.saveOrder(order);
    }
}
